/**
 * 
 */
package com.p2p.front.dal.model;

import java.util.Date;

import com.p2p.base.model.Money;

/**
 * @author ruiqi
 *
 */
public class Transfer {

	private Long id;//转让ID
	private Long tid;//投标ID
	private Long uid;//转让用户ID
	private Long ruid;//承接用户ID
	private Long luid;//贷款用户ID
	private Long lid;//贷款ID
	private String title;//贷款标题
	private String img;//贷款图片
	private Money transPrincipal = new Money();//转让本金
	private Money transAmount = new Money();//转让价格
	private Money transInterest = new Money();//利息总额
	private Money transFee = new Money();// 转让风险金
	private Integer transNum;//剩余期数
	private String transpwd;//承接密码
	private Integer status;//状态:1-转让失败,2-已取消,3-已过期,4-自动取消,11-转让中,12-待审核,21-转让成功
	private Date exptime;//过期时间
	private Date addtime;//创建时间
	private Date uptime;//更新时间
	private Date oktime;//成功时间
	
	//2015新增的4个字段
	private Money transValue;//债权价值
	private Double pricePercent;//价值/价值的比例
	private Money lostPriceFee;
	private Double transFeePercent;//转让费用/转让价格的比例
	private Money interestManagementFee = new Money();//利息管理费
	private Double interestManagementFeePercent; //利息管理费的扣款比例
	
	
	public Money getTransValue() {
		return transValue;
	}
	public void setTransValue(Money transValue) {
		this.transValue = transValue;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getTid() {
		return tid;
	}
	public void setTid(Long tid) {
		this.tid = tid;
	}
	public Long getUid() {
		return uid;
	}
	public void setUid(Long uid) {
		this.uid = uid;
	}
	public Long getRuid() {
		return ruid;
	}
	public void setRuid(Long ruid) {
		this.ruid = ruid;
	}
	public Long getLuid() {
		return luid;
	}
	public void setLuid(Long luid) {
		this.luid = luid;
	}
	public Long getLid() {
		return lid;
	}
	public void setLid(Long lid) {
		this.lid = lid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	
	public Money getTransAmount() {
		return transAmount;
	}
	public void setTransAmount(Money transAmount) {
		this.transAmount = transAmount;
	}
	
	public Money getTransPrincipal() {
		return transPrincipal;
	}
	public void setTransPrincipal(Money transPrincipal) {
		this.transPrincipal = transPrincipal;
	}
	public Money getTransInterest() {
		return transInterest;
	}
	public void setTransInterest(Money transInterest) {
		this.transInterest = transInterest;
	}
	public Integer getTransNum() {
		return transNum;
	}
	public void setTransNum(Integer transNum) {
		this.transNum = transNum;
	}
	public String getTranspwd() {
		return transpwd;
	}
	public void setTranspwd(String transpwd) {
		this.transpwd = transpwd;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getExptime() {
		return exptime;
	}
	public void setExptime(Date exptime) {
		this.exptime = exptime;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Date getUptime() {
		return uptime;
	}
	public void setUptime(Date uptime) {
		this.uptime = uptime;
	}
	public Date getOktime() {
		return oktime;
	}
	public void setOktime(Date oktime) {
		this.oktime = oktime;
	}
	public Money getTransFee() {
		return transFee;
	}
	public void setTransFee(Money transFee) {
		this.transFee = transFee;
	}

	public Money getInterestManagementFee() {
		return interestManagementFee;
	}
	public void setInterestManagementFee(Money interestManagementFee) {
		this.interestManagementFee = interestManagementFee;
	}

	public Money getLostPriceFee() {
		return lostPriceFee;
	}
	public void setLostPriceFee(Money lostPriceFee) {
		this.lostPriceFee = lostPriceFee;
	}
	public Double getPricePercent() {
		return pricePercent;
	}
	public void setPricePercent(Double pricePercent) {
		this.pricePercent = pricePercent;
	}
	public Double getTransFeePercent() {
		return transFeePercent;
	}
	public void setTransFeePercent(Double transFeePercent) {
		this.transFeePercent = transFeePercent;
	}
	public Double getInterestManagementFeePercent() {
		return interestManagementFeePercent;
	}
	public void setInterestManagementFeePercent(Double interestManagementFeePercent) {
		this.interestManagementFeePercent = interestManagementFeePercent;
	}
	
}
